// components/goodslist/goodslist.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    goodsItem: {
      type: Object,
      value: {}
    }
  },

  /**
   * 组件的初始数据
   */
  data: {

  },

  /**
   * 组件的方法列表
   */
  methods: {
    JumpGoodsDetail(e) {
      const { goods_id } = e.currentTarget.dataset;
      console.log("商品id", goods_id);
      wx.navigateTo({
        url: '/pages/goods_detail/index?goods_id=' + goods_id
      });
    }
  }
})
